/*
* 命名空间: Project.Model
*
* 功 能： T_APP_MapAttend实体类
*
* 类 名： T_APP_MapAttendEntity
*
* Version   变更日期            负责人     变更内容
* ─────────────────────────────────────────────────
* V1.0.1    2020/02/02 14:50:40 罗维     创建
*
* Copyright (c) 2019 Lir Corporation. All rights reserved.
*/

namespace Project.Model
{
    using System;
    using Tool.Model;

    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    [DBTableInfo(TableName = "T_APP_MapAttend")]
    public class T_APP_MapAttendEntity
    {

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 19,DecimalDigits = 0,ColumnName = "ID",Required = true,DefaultValue = "",IsPrimarykey = false)]
        public long ID
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "Guid",Required = true,DefaultValue = "",IsPrimarykey = false)]
        public string Guid
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "UserNo",Required = true,DefaultValue = "",IsPrimarykey = false)]
        public string UserNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "DepNo",Required = true,DefaultValue = "",IsPrimarykey = false)]
        public long DepNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "CreateTime",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? CreateTime
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 18,DecimalDigits = 10,ColumnName = "Lon",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public decimal? Lon
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 18,DecimalDigits = 10,ColumnName = "Lat",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public decimal? Lat
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "AttTime",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? AttTime
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 1000,DataLength = 500,DecimalDigits = 0,ColumnName = "AttAddress",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string AttAddress
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "ProjectNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ProjectNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 100,DecimalDigits = 0,ColumnName = "ProjectName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ProjectName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "ZTBS",Required = true,DefaultValue = "((0))",IsPrimarykey = false)]
        public int ZTBS
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 100,DecimalDigits = 0,ColumnName = "DeviceID",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string DeviceID
        {
            get; set;
        }

        /// <summary>
        /// 1上班 2下班
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "AttendType",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? AttendType
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 18,DecimalDigits = 4,ColumnName = "Mi",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public decimal? Mi
        {
            get; set;
        }
    }
}
